$('#upload').click(function() {
	$.ajax({
	    url: 'cabinet/file/uploads',
	    type: 'POST',
	    cache: false,
	    data: new FormData($('#uploadForm')[0]),
	    processData: false,
	    contentType: false
	}).done(function(res) {
		console.log(res);
	}).fail(function(res) {});
})